package com.lh.common.entity.admin;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.ibatis.type.Alias;

import javax.persistence.Column;
import javax.persistence.Id;
import java.io.Serializable;
import java.util.Date;
/**
 * ovmal_user_record:用户记录表
 * @author Administrator 2020-05-09
 */
@TableName("ovmal_user_record")
@Alias("userRecord")
@Data
public class UserRecord implements Serializable {
    @ApiModelProperty(value = "")
    @Id
    @Column(name = "id")
    private Long id;

    @ApiModelProperty(value = "用户id")
    @Column(name = "user_id")
    private Long userId;

    @ApiModelProperty(value = "设备号")
    @Column(name = "equipment")
    private String equipment;

    @ApiModelProperty(value = "ip地址")
    @Column(name = "ip")
    private String ip;

    @ApiModelProperty(value = "")
    @Column(name = "create_time")
    private Date createTime;

    /**
     * ovmal_user_record
     */
    private static final long serialVersionUID = 1L;
}
